package cn.iocoder.yudao.module.crm.controller.admin.tasktype.vo.tasktypeapprover;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - CRM 任务单类型审批人新增/修改 Request VO")
@Data
public class TaskTypeApproverSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "31341")
    private Long id;

    @Schema(description = "任务单类型ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11906")
    @NotNull(message = "任务单类型ID不能为空")
    private Long taskTypeId;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "26552")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "审核次序（从1开始）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "审核次序（从1开始）不能为空")
    private Integer reviewOrder;

}